package doan.tanduc;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.Button;
import doan.tanduc.R;


public class dangnhap extends Activity {
    /** Called when the activity is first created. */
    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.main);
        
        final Button bt_dn = (Button) findViewById(R.id.bt_dn);
        final Button bt_nl = (Button) findViewById(R.id.bt_nl);
        
        bt_dn.setOnClickListener(new OnClickListener() {
			
			@Override
			public void onClick(View v) {
				// TODO Auto-generated method stub
				Intent i = new Intent(dangnhap.this, manhinhchinh.class);
				startActivity(i);
			}
		});
        bt_nl.setOnClickListener(new OnClickListener(){

			@Override
			public void onClick(View v) {
				// TODO Auto-generated method stub
				Intent i = new Intent(dangnhap.this, dangnhap.class);
				startActivity(i);
			}
        	
        });
    }
}
